package cn.shopifymall.camunda717.serviceTask;

import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;

/**
 * @Author 孤风雪影
 * @Email gitee.com/efairy520
 * @Date 2024/5/11 16:36
 * @Version 1.0
 * Java class实现，绑定全限定类名，无需加Service注解，通过反射new
 * 需要实现JavaDelegate
 */
public class ReserveRepairService implements JavaDelegate {
    @Override
    public void execute(DelegateExecution execution) throws Exception {
        System.out.println(execution.getCurrentActivityName());
        System.out.println(execution.getProcessDefinitionId());
        System.out.println("execution = " + execution);
    }
}
